//
//  WmcEditWatermarkBaseCell.swift
//  YPWatermarkCamera
//
//  Created by 赵新 on 2022/6/9.
//

import UIKit

class WmcEditWatermarkBaseCell: WmcBaseTableCell {
    /// 开关
    lazy var switchBtn: UISwitch = {
        let switchBtn = UISwitch()
        switchBtn.onTintColor = .wmc_mainTheme
        return switchBtn
    }()

    /// 内容
    lazy var contentLabel: UILabel = {
        let label = UILabel.YP.Create(font: 14.wmc_font,
                                      color: UIColor.wmc_grayH11_9D9DB3,
                                      alignment: .left)
        label.isHidden = true
        return label
    }()

    /// 索引
    var indexPath: IndexPath = .init()
    /// 操作开关回调
    var switchAnctionBlock: YPBlock.TwoParam<IndexPath, WmcWatermarkOptionModel>?

    func configModel(_ model: WmcWatermarkOptionModel,
                     styleMode: WmcBaseWatermarkTemplateView.StyleMode,
                     watermarkModel: WmcWatermarkDetailModel) {}
}
